local yaowu = fk.CreateSkill{
  name = "mini__yaowu",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["mini__yaowu"] = "耀武",
  [":mini__yaowu"] = "锁定技，当你成为【杀】的目标后，若此【杀】为红色，你不可响应；若不为红色，你摸一张牌。",

  ["$mini__yaowu1"] = "雄一人，便可挡诸侯百万之众！",
  ["$mini__yaowu2"] = "哼？还未接我三合，谁还来战？",
}

yaowu:addEffect(fk.TargetConfirmed, {
  anim_type = "negative",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(yaowu.name) and data.card.trueName == "slash"
  end,
  on_use = function (self, event, target, player, data)
    if data.card.color == Card.Red then
      data.disresponsive = true
    else
      player:drawCards(1, yaowu.name)
    end
  end,
})

return yaowu
